package com.printeverywhere.dto;

import java.util.Date;

/**
 * TransactionsUser entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class TransactionsUser implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private Integer tid;
	private User userId;
	private Items id;
	private String invoice;
	private Integer type;
	private Double amount;
	private Double due;
	private Double balance;
	private Date date;
	private String comments;
	private String title;

	// Constructors

	/** default constructor */
	public TransactionsUser() {
	}

	/** minimal constructor */
	public TransactionsUser(Integer tid, String title) {
		this.tid = tid;
		this.title = title;
	}

	/** full constructor */
	public TransactionsUser(Integer tid, User userId, Items id,
			String invoice, Integer type, Double amount, Double due,
			Double balance, Date date, String comments, String title) {
		this.tid = tid;
		this.userId = userId;
		this.id = id;
		this.invoice = invoice;
		this.type = type;
		this.amount = amount;
		this.due = due;
		this.balance = balance;
		this.date = date;
		this.comments = comments;
		this.title = title;
	}

	// Property accessors

	public Integer getTid() {
		return this.tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public Items getId() {
		return this.id;
	}

	public void setId(Items id) {
		this.id = id;
	}

	public String getInvoice() {
		return this.invoice;
	}

	public void setInvoice(String invoice) {
		this.invoice = invoice;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Double getAmount() {
		return this.amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getDue() {
		return this.due;
	}

	public void setDue(Double due) {
		this.due = due;
	}

	public Double getBalance() {
		return this.balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public User getUserId() {
		return userId;
	}

	public void setUserId(User userId) {
		this.userId = userId;
	}
}